//
//  SelectPublicTableViewCell.m
//  We_Travel
//
//  Created by lanou3g on 15/12/12.
//  Copyright © 2015年 lanou3g. All rights reserved.
//

#import "SelectPublicTableViewCell.h"

@implementation SelectPublicTableViewCell




- (void)awakeFromNib {
    // Initialization code
    
    
}
- (IBAction)rightButton:(UIButton *)sender {
    int count = 100;
    sender.tag = count++;
    if ([sender.titleLabel.text isEqualToString:@"添加"]) {
        //        sender.titleLabel.text = @"已添加";
        [sender setTitle:@"已添加" forState:UIControlStateNormal];
    }else if ([sender.titleLabel.text isEqualToString:@"已添加"]) {
        [sender setTitle:@"添加" forState:UIControlStateNormal];
    }

}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];


    // Configure the view for the selected state
}



@end
